AEResetTimer
AEResetTimer Reset Apple Event timeout value
#include <AppleEvents.h> Apple Event Manager
AppleEvent * reply ; system default reply for an Apple Event
returns Error Code; 0 = no error
You can use the AEResetTimer function to reset the timeout value for an
Apple event to its starting value.
When your application calls AEResetTimer, the Apple Event Manager
for the server application uses the default reply to send a Reset Timer event to
the client application; the Apple Event Manager for the client application
intercepts this Apple event and resets the client application's timer for the
Apple event. (The Reset Timer event is never dispatched to a handler, and the
client application does not need a handler for it.)
The AEResetTimer function resets the timeout value for an Apple event to
its starting value. A server application can call this function when it knows it
cannot fulfill a client application's request (either by returning a result or by
sending back a reply Apple event) before the client application is due to time
out.
The reply parameter is the default reply for an Apple event and is provided by
the Apple Event Manager. When AEResetTimer is called, the
Apple Event Manager uses the default reply to send a Reset
Result codes
noErr (0) No error
errAEReplyNotValid (-1709) AEResetTimer was passed an invalid reply